package com.dkm.ec.activity.domain;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.biz.domain.AbstractDomain;
import com.dkm.ec.activity.persistence.dao.PrefectureConfigDao;
import com.dkm.ec.activity.persistence.entity.PrefectureConfigPo;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 * Created by fanjinyuan on 2017/8/11.
 */
@SuppressWarnings("serial")
@Service
@Scope("prototype")
public class PrefectureConfig extends AbstractDomain<String, PrefectureConfigPo> {

    private PrefectureConfigDao prefectureConfigDao;

    protected void init(){
        prefectureConfigDao = SpringHelper.getBean(PrefectureConfigDao.class);
        setDao(prefectureConfigDao);
    }

}
